<?php
require('connect.sql.php');
require('admin.function.php');
require('sql.function.php');

echo "<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />";


$groupid=$_POST['groupid'];
$groupname=$_POST['groupname'];
$query="'".$groupid."','".$groupname."'";
$re=insertdata("app_group","groupid,groupname",$query);
if ($re) {
	echo "添加成功";
}
?>